import java.util.*;
import java.io.*;

public class SalarioEComissao {
    public static void main (String[] args){
        Scanner scan = new Scanner(System.in);
        scan.useLocale(Locale.US);
        String Nome = scan.nextLine();
        double SalarioFixo = scan.nextDouble();
        double totalVendas = scan.nextDouble();
        double salarioFinal = SalarioFixo + (totalVendas * 0.15);


        System.out.printf("TOTAL = R$ %.2f\n", salarioFinal);

        scan.close();

    }
}
